@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul{
  list-style: none;
}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  line-height: 1.5;
  font-size: 12px;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}
.fl{
  float: left;
}
.fr{
  float: right;
}
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}
.p15{padding: 15px;}
.p25{padding: 25px;}
.p30{
  padding: 30px;
}
.mb20{margin-bottom: 20px;}
.no-border{
  .el-input__inner{
    border-width: 0;
  }
  .el-form-item__content {
    border-bottom: 1px solid #E6EAED;
  }
  .el-form-item__content:hover{
    border-bottom-color: #18BAFF;
  }
}
$color-red:#ff5e5e;
$color-green: #00a417;
$color-gray: #8fa2b3;
.color-red{
  color: $color-red;
}
.color-green{
  color: $color-green;
}
.color-gray{
  color: $color-gray;
}
.title-div{
  height: 68px;
  line-height: 68px;
  padding: 0 24px;
  box-shadow: 0 1px 0 0 #e4eaf0;
  color: #303133;
  font-size: 24px;
}
#side-list{
  height: calc(100% - 85px);
  overflow-y: auto;
  .el-tree-node__content {
    height: 50px;
    line-height: 50px;
    padding: 0 35px;
    &:hover{
      background: #f0f3f5;
      color: #359CF3;
    }
    .custom-tree-node{
      width: 100%;
    }
    .btn-link{
      float: right;
      margin-left: 15px;
      margin-top: 10px;
    }
  }
}
.el-cascader,.el-select,.el-date-editor.el-input,.el-date-editor--daterange.el-input__inner{
  width: 100%;
}
